package com.gmzg.gmzgnews.topic.impl;

import com.gmzg.gmzgnews.topic.model.News;
import com.gmzg.gmzgnews.topic.model.NewsParent;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by liuyi_s on 2016/11/1 14:50.
 * Email：liuyi_s@foxmail.com
 */

public interface TopicService {
    @GET("/api/{category}/list")
    Call<NewsParent> getLit(@Path("category") String category,
                            @Query("id") int id,
                            @Query("page") int page,
                            @Query("rows") int rows);


}

